FROM nginx:1.24.0

#时区
ENV TZ=Asia/Shanghai
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

WORKDIR /app
COPY ./dist /app
COPY --chmod=a+x ./wait-for-it.sh /usr/bin/
COPY ./default.conf /etc/nginx/conf.d/


EXPOSE 80

